﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace V5_EaspLibs.FrameWork {
    public class BasePageHelper {
        /// <summary>
        /// 检查用户登陆
        /// </summary>
        /// <returns></returns>
        public bool CheckAdminLogin() {
            if (HttpContext.Current.Request.Cookies["adminname"] == null ||
                HttpContext.Current.Request.Cookies["admins"] == null) {
                return false;
            }
            return true;
        }
    }
}
